home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / ui / hud_items.urc < prev    next >
Encoding:
Text File  |  2002-10-21  |  4.1 KB  |  247 lines

  1. menu "hud_items" 512 112 FROM_BOTTOM 0.15
  2. bgcolor 0 0 0 0
  3. fgcolor 1 1 1 1
  4. align centerx bottom
  5.  
  6. //==================================================
  7. // empty item slot icons
  8.  
  9. resource
  10. Label
  11. {
  12. name "slot1_empty"
  13. rect 32 16 64 64
  14. fgcolor 1.00 1.00 1.00 0.60
  15. bgcolor 0.50 0.50 0.50 0.00
  16. borderstyle "NONE"
  17. shader textures/hud/item_empty
  18. //direction from_left 0.15
  19. fadein 0.2
  20. }
  21.  
  22. resource
  23. Label
  24. {
  25. name "slot2_empty"
  26. rect 160 16 64 64
  27. fgcolor 1.00 1.00 1.00 0.60
  28. bgcolor 0.50 0.50 0.50 0.00
  29. borderstyle "NONE"
  30. shader textures/hud/item_empty
  31. //direction from_left 0.15
  32. fadein 0.2
  33. }
  34.  
  35. resource
  36. Label
  37. {
  38. name "slot3_empty"
  39. rect 288 16 64 64
  40. fgcolor 1.00 1.00 1.00 0.60
  41. bgcolor 0.50 0.50 0.50 0.00
  42. borderstyle "NONE"
  43. shader textures/hud/item_empty
  44. //direction from_left 0.15
  45. fadein 0.2
  46. }
  47.  
  48. resource
  49. Label
  50. {
  51. name "slot4_empty"
  52. rect 416 16 64 64
  53. fgcolor 1.00 1.00 1.00 0.60
  54. bgcolor 0.50 0.50 0.50 0.00
  55. borderstyle "NONE"
  56. shader textures/hud/item_empty
  57. //direction from_left 0.15
  58. fadein 0.2
  59. }
  60.  
  61. //==================================================
  62. // Main item slot icons
  63.  
  64. resource
  65. Label
  66. {
  67. name "slot1_icon"
  68. rect 32 16 64 64
  69. fgcolor 1.00 1.00 1.00 0.60
  70. bgcolor 0.50 0.50 0.50 0.00
  71. borderstyle "NONE"
  72. shader textures/hud/item_camera
  73. //direction from_left 0.15
  74. invmodelhand 2
  75. fadein 0.2
  76. }
  77.  
  78. resource
  79. Label
  80. {
  81. name "slot2_icon"
  82. rect 160 16 64 64
  83. fgcolor 1.00 1.00 1.00 0.60
  84. bgcolor 0.50 0.50 0.50 0.00
  85. borderstyle "NONE"
  86. shader textures/hud/item_camera
  87. //direction from_left 0.15
  88. invmodelhand 3
  89. fadein 0.2
  90. }
  91.  
  92. resource
  93. Label
  94. {
  95. name "slot3_icon"
  96. rect 288 16 64 64
  97. fgcolor 1.00 1.00 1.00 0.60
  98. bgcolor 0.50 0.50 0.50 0.00
  99. borderstyle "NONE"
  100. shader textures/hud/item_camera
  101. //direction from_left 0.15
  102. invmodelhand 4
  103. fadein 0.2
  104. }
  105.  
  106. resource
  107. Label
  108. {
  109. name "slot4_icon"
  110. rect 416 16 64 64
  111. fgcolor 1.00 1.00 1.00 0.60
  112. bgcolor 0.50 0.50 0.50 0.00
  113. borderstyle "NONE"
  114. shader textures/hud/item_camera
  115. //direction from_left 0.15
  116. invmodelhand 5
  117. fadein 0.2
  118. }
  119.  
  120. //==================================================
  121. // Selected item slot icon highlights
  122.  
  123. resource
  124. Label
  125. {
  126. name "slot1_highlight"
  127. rect 32 16 64 64
  128. fgcolor 1.00 1.00 1.00 0.60
  129. bgcolor 0.50 0.50 0.50 0.00
  130. borderstyle "NONE"
  131. shader textures/hud/item_highlight
  132. //direction from_left 0.15
  133. fadein 0.2
  134. }
  135.  
  136. resource
  137. Label
  138. {
  139. name "slot2_highlight"
  140. rect 160 16 64 64
  141. fgcolor 1.00 1.00 1.00 0.60
  142. bgcolor 0.50 0.50 0.50 0.00
  143. borderstyle "NONE"
  144. shader textures/hud/item_highlight
  145. //direction from_left 0.15
  146. fadein 0.2
  147. }
  148.  
  149. resource
  150. Label
  151. {
  152. name "slot3_highlight"
  153. rect 288 16 64 64
  154. fgcolor 1.00 1.00 1.00 0.60
  155. bgcolor 0.50 0.50 0.50 0.00
  156. borderstyle "NONE"
  157. shader textures/hud/item_highlight
  158. //direction from_left 0.15
  159. fadein 0.2
  160. }
  161.  
  162. resource
  163. Label
  164. {
  165. name "slot4_highlight"
  166. rect 416 16 64 64
  167. fgcolor 1.00 1.00 1.00 0.60
  168. bgcolor 0.50 0.50 0.50 0.00
  169. borderstyle "NONE"
  170. shader textures/hud/item_highlight
  171. //direction from_left 0.15
  172. fadein 0.2
  173. }
  174.  
  175. //==================================================
  176. // item slot names
  177.  
  178. resource
  179. Label
  180. {
  181. name "slot1_name"
  182. rect 0 56 128 64
  183. fgcolor 1.00 1.00 1.00 0.80
  184. bgcolor 0.50 0.50 0.50 0.00
  185. borderstyle "NONE"
  186. itemstat 2
  187. //direction from_left 0.15
  188. fadein 0.2
  189. }
  190.  
  191. resource
  192. Label
  193. {
  194. name "slot2_name"
  195. rect 128 56 128 64
  196. fgcolor 1.00 1.00 1.00 0.80
  197. bgcolor 0.50 0.50 0.50 0.00
  198. borderstyle "NONE"
  199. itemstat 3
  200. //direction from_left 0.15
  201. fadein 0.2
  202. }
  203.  
  204. resource
  205. Label
  206. {
  207. name "slot3_name"
  208. rect 256 56 128 64
  209. fgcolor 1.00 1.00 1.00 0.80
  210. bgcolor 0.50 0.50 0.50 0.00
  211. borderstyle "NONE"
  212. itemstat 4
  213. //direction from_left 0.15
  214. fadein 0.2
  215. }
  216.  
  217. resource
  218. Label
  219. {
  220. name "slot4_name"
  221. rect 384 56 128 64
  222. fgcolor 1.00 1.00 1.00 0.80
  223. bgcolor 0.50 0.50 0.50 0.00
  224. borderstyle "NONE"
  225. itemstat 5
  226. //direction from_left 0.15
  227. fadein 0.2
  228. }
  229.  
  230. //==================================================
  231. // selected item name display
  232.  
  233. resource
  234. Label
  235. {
  236. name "currentname"
  237. rect 192 0 128 16
  238. fgcolor 1.00 1.00 1.00 1.00
  239. bgcolor 0.50 0.50 0.50 0.00
  240. borderstyle "NONE"
  241. //direction from_left 0.15
  242. itemstat 1 // equipped item
  243. fadein 0.2
  244. }
  245.  
  246. end.
  247.